package model

import "gorm.io/gorm"

type Article struct {
	gorm.Model
	UserID  uint
	Title   string
	Content string
}

type Article_tags struct {
	gorm.Model
	ArticleID uint
	TagID     uint
}

func (Article_tags) TableName() string {
	return "article_tags"
}
